/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

@import "~antd/lib/style/themes/default.less";

.station-wrap {
  :global {
    :global > div:first-child {
      background-color: #fff;
      padding-top: 10px;
      .ant-affix {
        background-color: #fff;
        min-height: calc(~"100vh - 400px");
        max-height: calc(~"100vh - 64px");
        overflow-y: auto;
      }
      .ant-spin-nested-loading,
      .ant-spin-container {
        min-height: calc(~"100vh - 400px");
        width: 100%;
      }
    }
    .col-scroll-view {
      padding-left: 24px;
    }
    .ant-tree > li:first-child {
      padding-top: 0;
    }
  }
}

.station-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #eee;
  :global {
    .ant-btn {
      border: none;
      flex-grow: 1;
    }
  }
}

:global {
  @media screen {
    @media (max-width: @screen-md), (max-width: @screen-sm) {
      .col-scroll-view {
        padding: 16px !important;
      }

      .ant-affix {
        position: static !important;
      }

      .ant-affix,
      .ant-spin-nested-loading,
      .ant-spin-container {
        min-height: 0 !important;
      }
    }
  }
  .ant-confirm-btns {
    button:nth-child(1) {
      float: right;
      margin-left: 8px;
    }
  }
}
.colerWeight {
  font-weight: 600;
  font-size: 16px;
  :global {
    .ant-tree-node-content-wrapper {
      width: 80%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}
.coler {
  font-weight: 500;
  font-size: 14px;
}
